/**
 * Copyright (c) 2010 Jumbomart All Rights Reserved.
 *
 * This software is the confidential and proprietary information of Jumbomart.
 * You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Jumbo.
 *
 * JUMBOMART MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE, OR NON-INFRINGEMENT. JUMBOMART SHALL NOT BE LIABLE FOR ANY DAMAGES
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * THIS SOFTWARE OR ITS DERIVATIVES.
 *
 */
package com.p2p.backend.model;

import java.io.Serializable;
import java.util.Date;



/**
 * 用户角色表
 * @author <a href="mailto:liyang@yiqihao.com">李阳</a>
 * @version 1.0
 */
public class UserRole implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -155316718316268485L;

	/**
	 * ID
	 */
	private Long id;

	/**
	 * VERSION
	 */
	private Date version;

	/**
	 * 用户
	 */
	private BackUser user;

	/**
	 * 角色
	 */
	private Role role;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getVersion() {
		return version;
	}

	public void setVersion(Date version) {
		this.version = version;
	}


	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public BackUser getUser() {
		return user;
	}

	public void setUser(BackUser user) {
		this.user = user;
	}
}
